/*
 * @Author: your name
 * @Date: 2021-10-09 10:03:45
 * @LastEditTime: 2021-11-26 10:40:22
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \cpp11\thread_usage.h
 */
#pragma once

#include <cstdint>
#include <iostream>
#include <functional>
#include <future>
#include <thread>
#include <chrono>
#include <cstdlib>
#include <vector>
#include "threadpool.h"
#include "json.h"
#include<atomic>
#include<thread>
#include<iostream>
#include <Windows.h>
#include <thread>
#include <atomic>
#include <iostream>
#include <objbase.h>
#include <functional>
#include <tuple>
#include <type_traits>


using namespace std;

void TestPromiseFutureBefore();
void TestThreadDetach();
void TestLockGuard();
int TestConditionVariable();
int TestOptiomization();
int TestRValue();
int TestThreadPool();
int TestFuntionParadim();